// FactorySwitchNI2527.h: interface for the CFactorySwitchNI2527 class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FACTORYSWITCHNI2527_H__62EDEE6E_2F87_4101_B508_0615F2A4B0D6__INCLUDED_)
#define AFX_FACTORYSWITCHNI2527_H__62EDEE6E_2F87_4101_B508_0615F2A4B0D6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//#include "public.h"
#include "VI_Switch_NI_2527.h"
#include "Unknwn.h"
//extern "C" const GUID CLSID_SWITCH_NI_2527 = 
//{ 0x8a2ca80a, 0x2141, 0x4adf, 
//{ 0x86, 0x53, 0x10, 0x49, 0xe4, 0xdd, 0xed, 0x81 } };
//
//// {902DD045-BEC3-42eb-8E5C-7213DAD75959}
//extern "C" const GUID IID_CircuitryLinker = 
//{ 0x902dd045, 0xbec3, 0x42eb, 
//{ 0x8e, 0x5c, 0x72, 0x13, 0xda, 0xd7, 0x59, 0x59 } };


class CFactorySwitchNI2527 : public IClassFactory 
{
protected:

	ULONG    m_Ref;
	
public:

	//IUnknown members
	HRESULT __stdcall QueryInterface(const IID& iid, void **ppv);
	ULONG __stdcall AddRef();
	ULONG __stdcall Release();
	
	//IClassFactory members
	HRESULT __stdcall CreateInstance(IUnknown * pUnknown, const IID& iid, void **ppv);
	HRESULT __stdcall LockServer(BOOL);

public:
//	static void Release();
//	static void* CreateInstance(INTERFACETYPE interfaceID);
	CFactorySwitchNI2527();
	virtual ~CFactorySwitchNI2527();
	static CVI_Switch_NI_2527* m_instance;
};

#endif // !defined(AFX_FACTORYSWITCHNI2527_H__62EDEE6E_2F87_4101_B508_0615F2A4B0D6__INCLUDED_)
